findTopChildUnder

@Nullable
open fun findTopChildUnder(x: Int, y: Int): @Nullable View(source)

Find the topmost child under the given point within the parent view's coordinate system. The child order is determined using getOrderedChildIndex.

Return

The topmost child view under (x, y) or null if none found.

Parameters

x

X position to test in the parent's coordinate system

y

Y position to test in the parent's coordinate system